/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package util;

/**
 *
 * @author ennouaary
 */
public class TaggedWeightedObject extends WeightedObject {

    public TAG getTag() {
        return tag;
    }

    public void setTag(TAG tag) {
        this.tag = tag;
    }

    public static enum TAG {
        MIN,
        MAX
    }
    
    private TAG tag;

    public TaggedWeightedObject(TAG tag, Comparable weight, Object object) {
        super(weight, object);
        this.tag = tag;
    }
       
}
